package com.dcd.service;

import com.dcd.pojo.Video_type;
import com.dcd.service.impl.Video_typeServiceImpl;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;

@Component
@FeignClient(name = "donchedi-provider9091",fallback = Video_typeServiceImpl.class,contextId = "videoType")
public interface Video_typeService {

    /**
     *查询首页视频所有类型
     * @return 视频所有类型
     */
    @RequestMapping("/Vido_typeController/show_all")
    List<Video_type> select_All_Video_type();
}
